package cn.jbit.epet.calc;

public class TestCalc {
	public static void main(String[] args) {
		Rectangle rt = new Rectangle();
		rt.setLength(16);
		rt.setWidth(27);
		rt.perimeter();
		rt.area();
		
		Circle cc = new Circle();
		cc.setR(10);
		cc.perimeter();
		cc.area();
		
		Triangle ta = new Triangle();
		ta.setA(3);
		ta.setB(7);
		ta.setC(8);
		ta.perimeter();
		ta.area();
		
		Trapezoid tp = new Trapezoid();
		tp.setUp(3);
		tp.setDown(7);
		tp.setLeft(6);
		tp.setRight(8);
		tp.setHeight(5);
		tp.perimeter();
		tp.area();
	}
}
